import request from '@/utils/request'


export function listPage(data) {
  return request.post('buss/modules/listPage', data)
}

export function findOne(data) {
  return request.get('buss/modules/findOne?id='+ data)
}

export function add(data) {
  return request.post('buss/modules/save', data)
}

export function del(data) {
  return request.post('buss/modules/del', data)
}

export function complete(data) {
  return request.post('buss/modulesData/complete', data)
}


export default {add, del, listPage  ,findOne,complete}
